package com.svs.project.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.svs.project.mapper.ProLineDao;
import com.svs.project.domain.ProLine;
import com.svs.framework.base.service.CrudService;

import java.util.List;

/**
 * 生产线管理 服务层实现
 * 
 * @author 杜建桥
 * @date 2023-08-12
 */
@Service
public class ProLineService extends CrudService<ProLineDao, ProLine> {

    @Autowired
    private ProLineDao dao;

    public List<ProLine> counterList(){
        return dao.counterList();
    }

    public ProLine selectByCode(String lineCode){
        return dao.selectByCode(lineCode);
    }
}
